package com.ff.xyh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Auther FF
 * @Date 2022年 10月 26日
 * @Time 00:00
 */

@EnableDiscoveryClient // 服务发现 将微服务注册到nacos
@EnableFeignClients(
        basePackages = {
//                "com.ff.xyh.feign.client.post",
//                "com.ff.xyh.feign.client.userfront",
//                "com.ff.xyh.feign.client.minio",
                "com.ff.xyh.feign.client"
        }
)
@MapperScan("com.ff.xyh.access.mapper")
@SpringBootApplication
public class Consumer_8030_AccessApplication {
    public static void main(String[] args) {
        SpringApplication.run(Consumer_8030_AccessApplication.class, args);
    }
}
